﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000889 RID: 2185
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GGLPLMAEDGN : IMessage<GGLPLMAEDGN>, IMessage, IEquatable<GGLPLMAEDGN>, IDeepCloneable<GGLPLMAEDGN>, IBufferMessage
	{
		// Token: 0x17001B83 RID: 7043
		// (get) Token: 0x060061A4 RID: 24996 RVA: 0x001037D8 File Offset: 0x001019D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GGLPLMAEDGN> Parser
		{
			get
			{
				return GGLPLMAEDGN._parser;
			}
		}

		// Token: 0x17001B84 RID: 7044
		// (get) Token: 0x060061A5 RID: 24997 RVA: 0x001037DF File Offset: 0x001019DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GGLPLMAEDGNReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001B85 RID: 7045
		// (get) Token: 0x060061A6 RID: 24998 RVA: 0x001037F1 File Offset: 0x001019F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GGLPLMAEDGN.Descriptor;
			}
		}

		// Token: 0x060061A7 RID: 24999 RVA: 0x001037F8 File Offset: 0x001019F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GGLPLMAEDGN()
		{
		}

		// Token: 0x060061A8 RID: 25000 RVA: 0x00103800 File Offset: 0x00101A00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GGLPLMAEDGN(GGLPLMAEDGN other) : this()
		{
			this.iFAJDNNCHMN_ = ((other.iFAJDNNCHMN_ != null) ? other.iFAJDNNCHMN_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060061A9 RID: 25001 RVA: 0x00103835 File Offset: 0x00101A35
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GGLPLMAEDGN Clone()
		{
			return new GGLPLMAEDGN(this);
		}

		// Token: 0x17001B86 RID: 7046
		// (get) Token: 0x060061AA RID: 25002 RVA: 0x0010383D File Offset: 0x00101A3D
		// (set) Token: 0x060061AB RID: 25003 RVA: 0x00103845 File Offset: 0x00101A45
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJGHBHAIGMG IFAJDNNCHMN
		{
			get
			{
				return this.iFAJDNNCHMN_;
			}
			set
			{
				this.iFAJDNNCHMN_ = value;
			}
		}

		// Token: 0x060061AC RID: 25004 RVA: 0x0010384E File Offset: 0x00101A4E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GGLPLMAEDGN);
		}

		// Token: 0x060061AD RID: 25005 RVA: 0x0010385C File Offset: 0x00101A5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GGLPLMAEDGN other)
		{
			return other != null && (other == this || (object.Equals(this.IFAJDNNCHMN, other.IFAJDNNCHMN) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060061AE RID: 25006 RVA: 0x00103890 File Offset: 0x00101A90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.iFAJDNNCHMN_ != null)
			{
				num ^= this.IFAJDNNCHMN.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060061AF RID: 25007 RVA: 0x001038CC File Offset: 0x00101ACC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060061B0 RID: 25008 RVA: 0x001038D4 File Offset: 0x00101AD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060061B1 RID: 25009 RVA: 0x001038DD File Offset: 0x00101ADD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.iFAJDNNCHMN_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.IFAJDNNCHMN);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060061B2 RID: 25010 RVA: 0x00103910 File Offset: 0x00101B10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.iFAJDNNCHMN_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.IFAJDNNCHMN);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060061B3 RID: 25011 RVA: 0x00103950 File Offset: 0x00101B50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GGLPLMAEDGN other)
		{
			if (other == null)
			{
				return;
			}
			if (other.iFAJDNNCHMN_ != null)
			{
				if (this.iFAJDNNCHMN_ == null)
				{
					this.IFAJDNNCHMN = new OJGHBHAIGMG();
				}
				this.IFAJDNNCHMN.MergeFrom(other.IFAJDNNCHMN);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060061B4 RID: 25012 RVA: 0x001039A4 File Offset: 0x00101BA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060061B5 RID: 25013 RVA: 0x001039B0 File Offset: 0x00101BB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 90U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.iFAJDNNCHMN_ == null)
					{
						this.IFAJDNNCHMN = new OJGHBHAIGMG();
					}
					input.ReadMessage(this.IFAJDNNCHMN);
				}
			}
		}

		// Token: 0x04002569 RID: 9577
		private static readonly MessageParser<GGLPLMAEDGN> _parser = new MessageParser<GGLPLMAEDGN>(() => new GGLPLMAEDGN());

		// Token: 0x0400256A RID: 9578
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400256B RID: 9579
		public const int IFAJDNNCHMNFieldNumber = 11;

		// Token: 0x0400256C RID: 9580
		private OJGHBHAIGMG iFAJDNNCHMN_;
	}
}
